<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta content="telephone=no" name="format-detection" />
    <!-- 留作将来统一添加 -->
    <TEMPLATE>${TEMPLATE}</TEMPLATE>
    <title>模板html</title>
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
        }
        html, body {
            background-color: rgba(0,0,0,0);
        }
        img {
            vertical-align: top;
            width: 40px;
            height: 40px;
            background-color: rgba(0,0,0,0);
        }
    </style>
</head>
<body>
    <img onclick="handleBtn()" src="../../image/course/exit_screen.png" alt="">      
</body>
<script type="text/javascript">
    function handleBtn() {
        api.sendEvent({
            name: 'exit_screen'
        });
        api.execScript({
            name: 'course_win',
            frameName: 'course_detail_frm',
            script: 'vm.isFull = false;'
        });
        api.closeFrame();
    }
</script>
</html>
